from flask import Blueprint, current_app, g

user_bp = Blueprint('user',__name__)

@user_bp.route('/user_info')
def user_info():
    print(current_app.config.get('REIDS'))
    print(g.user_id)
    return 'user_info'